package project

import (
	"context"
	"hotgo/internal/service"

	"hotgo/api/project/v1"
)

func (c *ControllerV1) GetData(ctx context.Context, req *v1.GetDataReq) (res *v1.GetDataRes, err error) {
	res = new(v1.GetDataRes)
	res.ProjectGetDataModel, err = service.AdminProject().GetData(ctx, &req.ProjectGetDataInp)
	return
}
